package com.woniuxy.stage3demo.bean.caicai;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoBean implements Serializable {

  private long id;
  //姓名
  private String name;
  //身份证号
  private String cardId;
  //性别
  private int gender;
  //民族
  private String national;
  //出生日期
  @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
  private Date birthday;
  //年龄
  private int age;
  //发证机关
  private String authority;
  //有效期
  @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
  private Date validity;
  //户籍地址
  private String address;
  //现住址
  private String addressNow;
  //手机号
  private String telphone;
  //婚姻状况
  private int marryStatus;
  //教育程度
  private String edu;
  //政治面貌
  private String politicalStatus;
  //附件
  private UserDataBean userDataBean;
  //删除标记
  private int delFlag;



}
